package com.mf;

import io.github.heollhai.common.config.security.AuthorizationProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: lmf
 * @Create: 2024/8/22 14:17
 * Description:
 */
@SpringBootApplication
@MapperScan("com.mf.mapper")
@ComponentScan({"io.github.heollhai.common.config","com.mf"})
// 启用配置属性
@EnableConfigurationProperties({AuthorizationProperties.class})
@EnableDiscoveryClient // 开启服务注册发现功能
public class BasicApplication {

    public static void main(String[] args) {

        SpringApplication.run(BasicApplication.class, args);
    }

}